﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="PreViewLocation.aspx.cs"
    Inherits="LabMS.Web.LabManage.PreViewLocation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>实验用房信息预览</title>
    <base target="_self" />
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <script src="../js/Common.js" type="text/javascript"></script>
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->


    <script language="javascript" type="text/javascript">
        function wincolse()
        {
            this.window.close();
        }
        function refreshParent() 
        {   
            window.opener.location.href = window.opener.location.href;    
        }
        function modify()
        {
            RedirectURL(window,'./AddLocation.aspx?ID='+document.getElementById("IDHF").value);
        }
    </script>

</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label >预览实验用房信息</label>
                </div>
            </div>
        </div>
        <div style="padding: 5px;" class="main">
            <asp:Label ID="ERRLbl" runat="server" Visible="false"></asp:Label>
            <p>
                <input id="modifybtn" type="button" runat="server" value="修改" class="button" onclick='modify()' />
                <input id="concel" type="button" runat="server" value="取消" class="button" onclick='wincolse()' />
                <asp:Button ID="DeleteBtn" runat="server" CssClass="button" Text="删除" OnClientClick="return confirm('您确定要删除吗?')"
                    OnClick="Delete_OnClick" />
            </p>
            <table cellpadding="4" cellspacing="0" border="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            名称：</label>
                    </td>
                    <td>
                        <asp:Label ID="LocationNameLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            校区：</label>
                    </td>
                    <td>
                        <asp:Label ID="CampusLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            楼名称：</label>
                    </td>
                    <td>
                        <asp:Label ID="BuildingNameLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            楼层：</label>
                    </td>
                    <td>
                        <asp:Label ID="FloorLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            房间号：</label>
                    </td>
                    <td>
                        <asp:Label ID="RoomNumLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            所属实验室：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="LabDDL" ToolTip="所属实验室" runat="server" DataTextField="Lab_Name"
                            DataValueField="ID" Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            用途：</label>
                    </td>
                    <td>
                        <asp:Label ID="UsageLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            容纳学生数：</label>
                    </td>
                    <td>
                        <asp:Label ID="StudentNumLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            面积(㎡)：</label>
                    </td>
                    <td>
                        <asp:Label ID="AreaLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            负责人(管理员)：</label>
                    </td>
                    <td>
                        <asp:Label ID="ManagerLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            联系电话：</label>
                    </td>
                    <td>
                        <asp:Label ID="TelLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            使用标志：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="StatusDDL" ToolTip="使用标志" DataTextField="Name" DataValueField="Code"
                            runat="server" Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            备注：</label>
                    </td>
                    <td>
                        <asp:Label ID="SummaryLbl" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <asp:HiddenField ID="IDHF" runat="server" />
        </div>
    </form>
</body>
</html>
